import request from '@/utils/request'


export function selectStrategyByStationRunMode(stationId,runMode) {
  return request({
    url: '/station/stationStrategyNode/strategyByStationRunMode',
    method: 'get',
    params: {stationId:stationId,runMode:runMode}
  })
}

// 修改站点策略节点
export function updateStrategyList(data) {
  return request({
    url: '/station/stationStrategyNode/changeList',
    method: 'put',
    data: data
  })
}

// 查询站点策略节点列表
export function listStationStrategyNode(query) {
  return request({
    url: '/station/stationStrategyNode/list',
    method: 'get',
    params: query
  })
}

